Undo takes back the last action you made in FreeStyle. Anything having to do with recording and editing the music can be undone. Undo does not apply to things like saving, opening or closing windows, adding players to the ensemble, or anything that does not involve changing the music itself.
Redo restores the last action that was reversed with Undo.